import Vue from 'vue'
import Router from 'vue-router'
import user from '@/components/user'
import information from '@/components/information'
import studyHistory from '@/components/studyHistory'
import rewardDetails from '@/components/rewardDetails'
import rewardDetail from '@/components/rewardDetail'
import forward from '@/components/forward'
import forwardMoney from '@/components/forwardMoney'
import forwardMoneys from '@/components/forwardMoneys'
import home from '@/components/home'
import free from '@/components/free'
import freeDetail from '@/components/freeDetail'
import coulumn from '@/components/coulumn'
import classList from '@/components/classList'
import classIntroduce from '@/components/classIntroduce'
import classDetail from '@/components/classDetail'
import movies from '@/components/movies'
import moviesList from '@/components/moviesList'
import moviesDetail from '@/components/moviesDetail'
import recommend from '@/components/recommend'
import course from '@/components/course'
import courseDetail from '@/components/courseDetail'
import audios from '@/components/audios'
import upgrade from '@/components/upgrade'
import friend from '@/components/friend'
import zlorder from '@/components/zlorder'
import message from '@/components/message'
import collection from '@/components/collection'
import card from '@/components/card'
import transfer from '@/components/transfer'
import idealMoneyUse from '@/components/idealMoneyUse'

import modify from '@/components/modify'
import orderMine from '@/components/orderMine'
import orderCourse from '@/components/orderCourse'
import article from '@/components/article'
import moviesIntroduce from '@/components/moviesIntroduce'
import newsDetail from '@/components/newsDetail'
import newsSpecific from '@/components/newsSpecific'
import transferRecord from '@/components/transferRecord'
import wendao from '@/components/wendao'
import wendaoList from '@/components/wendaoList'
import wendaoDetail from '@/components/wendaoDetail'
import freeList from '@/components/freeList'
import login from '@/components/login'
import audioList from '@/components/audioList'
import bought from '@/components/bought'
import audioDetail from '@/components/audioDetail'
import erweima from '@/components/erweima'



// location.href = "http://bhgt.jslcwy.com/api/Weixin/wechatLogin/url/" + '111' + "/parent_id/" + parent_id;


Vue.use(Router)


export default 
[   
   {
      path: '/',
      name: 'home',
      component: home
    },

    {
      path: '/user',
      name: 'user',
      component: user
    },
    {
      path: '/idealMoneyUse',
      name: 'idealMoneyUse',
      component: idealMoneyUse
    },

    {
      path: '/card',
      name: 'card',
      component: card
    },
    
    {
      path: '/collection',
      name: 'collection',
      component: collection
    },
    {
      path: '/message',
      name: 'message',
      component: message
    },
    {
      path: '/zlorder',
      name: 'zlorder',
      component: zlorder
    },
    {
      path: '/forwardMoney',
      name: 'forwardMoney',
      component: forwardMoney
    },
    {
      path: '/forwardMoneys',
      name: 'forwardMoneys',
      component: forwardMoneys
    },
    {
      path: '/friend',
      name: 'friend',
      component: friend
    },

    {
      path: '/forward',
      name: 'forward',
      component: forward
    },

    {
      path: '/rewardDetails',
      name: 'rewardDetails',
      component: rewardDetails
    },
    {
      path: '/rewardDetail',
      name: 'rewardDetail',
      component: rewardDetail
    },

    {
      path: '/studyHistory',
      name: 'studyHistory',
      component: studyHistory
    },
    {
      path: '/information',
      name: 'information',
      component: information
    },
    
    
    
    {
      path: '/free',
      name: 'free',
      component: free
    },
    {
      path: '/freeDetail',
      name: 'freeDetail',
      component: freeDetail
    },
    {
      path: '/coulumn',
      name: 'coulumn',
      component: coulumn
    },
    {
      path: '/classList',
      name: 'classList',
      component: classList
    },
    {
      path: '/classIntroduce',
      name: 'classIntroduce',
      component: classIntroduce
    },
    {
      path: '/classDetail',
      name: 'classDetail',
      component: classDetail
    },
    {
      path: '/movies',
      name: 'movies',
      component: movies
    },
    {
      path: '/moviesList',
      name: 'moviesList',
      component: moviesList
    },
    {
      path: '/moviesDetail',
      name: 'moviesDetail',
      component: moviesDetail
    },
    {
      path: '/recommend',
      name: 'recommend',
      component: recommend
    },
    {
      path: '/course',
      name: 'course',
      component: course
    },
    {
      path: '/courseDetail',
      name: 'courseDetail',
      component: courseDetail
    },
    {
      path: '/audios',
      name: 'audios',
      component: audios
    },
    {
      path: '/upgrade',
      name: 'upgrade',
      component: upgrade
    },
    {
      path: '/modify',
      name: 'modify',
      component: modify
    },
    {
      path: '/orderMine',
      name: 'orderMine',
      component: orderMine
    },
    {
      path: '/orderCourse',
      name: 'orderCourse',
      component: orderCourse
    },
    {
      path: '/article',
      name: 'article',
      component: article
    },
    {
      path: '/moviesIntroduce',
      name: 'moviesIntroduce',
      component: moviesIntroduce
    },
    {
      path: '/newsDetail',
      name: 'newsDetail',
      component: newsDetail
    },
    {
      path: '/newsSpecific',
      name: 'newsSpecific',
      component: newsSpecific
    },
     {
      path: '/transfer',
      name: 'transfer',
      component: transfer
    },
    {
      path: '/transferRecord',
      name: 'transferRecord',
      component: transferRecord
    },
    {
      path: '/wendao',
      name: 'wendao',
      component: wendao
    },
    {
      path: '/wendaoList',
      name: 'wendaoList',
      component: wendaoList
    },
    {
      path: '/wendaoDetail',
      name: 'wendaoDetail',
      component: wendaoDetail
    },
    {
      path: '/freeList',
      name: 'freeList',
      component: freeList
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/audioList',
      name: 'audioList',
      component: audioList
    },
    {
      path: '/bought',
      name: 'bought',
      component: bought
    },
    {
      path: '/audioDetail',
      name: 'audioDetail',
      component: audioDetail
    },
    {
      path: '/erweima',
      name: 'erweima',
      component: erweima
    }
    
    
]

